import { get, post } from '../fetch'

// 订单列表
export const getOrderList = (params) => get('/jdOrderInfo/getList', params)
// 订单详情
export const getOrderDetail = (params) => get('/jdOrderInfo/getOrderDetailById', params)
// 发货清单
export const orderDispatchBill = (params) => get('/jdOrderInfo/orderDispatchBill', params)
// 快递面单
export const orderExpressSheet = (params) => get('/jdOrderInfo/orderExpressSheet', params)
// 快递列表
export const getCompanyList = (params) => post('/jdLogisticsCompany/getCompanyList', params)
// 添加
export const saveMOrderLogistics = (params) => post('/jdOrderInfo/saveLogistics', params)
// 发货
export const sendOrder = (params) => post('/jdOrderInfo/sendOrder', params)


// 列表
export const getOrderCommentList = (params) => get('/jdOrderComment/getList', params)
// 添加
export const saveOrderCommentInfo = (params) => post('/jdOrderComment/save', params)
// 更新
export const editOrderCommentInfo = (params) => post('/jdOrderComment/edit', params)
// 删除
export const deleteOrderCommentInfo = (params) => post('/jdOrderComment/delete', params)
